package com.mrzhou.log.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.mrzhou.core.tool.utils.DateUtil;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
@TableName("cloud_log_error")
public class LogError extends BaseLogEntity {

    @ApiModelProperty(value = "堆栈")
    private String stackTrace;

    @ApiModelProperty(value = "异常名")
    private String exceptionName;

    @ApiModelProperty(value = "异常信息")
    private String message;

    @ApiModelProperty(value = "错误行数")
    private Integer lineNumber;

    @ApiModelProperty(value = "文件名")
    private String fileName;

    @ApiModelProperty(value = "操作提交的数据")
    private String parameters;

}
